package com.exam.mysql;

import com.exam.entity.SysUserNotice;
import com.exam.entity.SysUserNoticeExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SysUserNoticeDao {
    long countByExample(SysUserNoticeExample example);

    int deleteByExample(SysUserNoticeExample example);

    int deleteByPrimaryKey(Integer unid);

    int insert(SysUserNotice record);

    int insertSelective(SysUserNotice record);

    List<SysUserNotice> selectByExample(SysUserNoticeExample example);

    SysUserNotice selectByPrimaryKey(Integer unid);

    int updateByExampleSelective(@Param("record") SysUserNotice record, @Param("example") SysUserNoticeExample example);

    int updateByExample(@Param("record") SysUserNotice record, @Param("example") SysUserNoticeExample example);

    int updateByPrimaryKeySelective(SysUserNotice record);

    int updateByPrimaryKey(SysUserNotice record);

    /**
     * 这是Mybatis Generator拓展插件生成的方法(请勿删除).
     * This method corresponds to the database table sys_user_notice
     *
     * @mbg.generated
     * @author hewei
     */
    int batchInsert(@Param("list") List<SysUserNotice> list);
}